import Layout from '@/layout'

export default {
  path: '/employee',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employee',
      component: () => import('../../views/employee/index.vue'),
      meta: { title: '员工管理', icon: 'people' }
    },
    {
      path: 'detail/:id?',
      name: 'employee',
      hidden: true,
      component: () => import('../../views/employee/Detail.vue'),
      meta: { title: '员工管理2', icon: 'people' }
    }
  ]
}
